﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class top : PageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            this.Label1.Text = Session[SessionType.Clientname].ToString();
        }
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Session.RemoveAll();
        string direct = Request.ApplicationPath + "/login.aspx";
        Response.Write("<script type='text/javascript'>top.location.href='" + direct + "';</script>");
    }
}